package com.babystudy.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.babystudy.dao.UserDao;
import com.babystudy.service.MyMathService;
@Controller
public class MathController {


	@RequestMapping(value="/mymath")
	public ModelAndView mymath(String numbers,String size){
		
		System.out.println("autowired.....");
		return new ModelAndView(new MyMathService(numbers,size));
	}
	
	
}
